package com.bawei.service;

import com.bawei.pojo.Notice;
import com.bawei.pojo.UserInfo;
import com.bawei.util.PageView;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface NoticeService {
    List<UserInfo> selectUsers();

    void save(Notice notice, String[] recipinet, MultipartFile[] file, UserInfo userInfo, HttpServletRequest request);

    /**
     * 我的公告
     * @param id
     * @param currentPage
     * @return
     */
    PageView<Notice> myPublish(String id, Integer currentPage);
}
